
jsonData 数据提取与填充 测试
<form id='jsonDataTestForm' class="ccay-form" >

</form>
<script type="templ" id='templ'>
 <div class="ccay-form-custom ccay-form-custommore" id="listTemp">
	<ul>
	<% for (var i = 0; users[i]; i ++) { user=users[i];%>
	<li class="ccay-form-row" ><samp>${user.userName}</samp>
	<span class="ccay-form-input"  >
		<input type="checkbox"  name="${user.userName}.married"  checked / > 
		<input type="text"  name="${user.userName}.age" value="${user.age}" /> 
		<input type="text"  name="${user.userName}.phone"  value="${user.phone}" /> 
		<input type="text"  name="${user.userName}.str"  value="${user.str}" /> 
		<input type="text"  name="${user.userName}.str2"  value="${user.str2}" /> 
		<input type="text"  name="${user.userName}.str3"  value="${user.str3}" /> 
		<input type="text"  name=""  value="" /> 
<input type="text"  name=""  value="1" /> 
<input type="text"  name=""  value="2" /> 
<input type="text"  name=""  value="3" /> 
<input type="text"  name=""  value="4" /> 
<input type="text"  name=""  value="5" /> 
<input type="text"  name=""  value="6" /> 
<input type="text"  name=""  value="7" /> 
<input type="text"  name=""  value="8" /> 
<input type="text"  name=""  value="9" /> 
<input type="text"  name=""  value="10" /> 
<input type="text"  name=""  value="11" /> 
<input type="text"  name=""  value="12" /> 
<input type="text"  name=""  value="13" /> 
<input type="text"  name=""  value="14" /> 
<input type="text"  name=""  value="15" /> 
<input type="text"  name=""  value="16" /> 
<input type="text"  name=""  value="17" /> 
<input type="text"  name=""  value="18" /> 
<input type="text"  name=""  value="19" /> 
<input type="text"  name=""  value="20" /> 
<input type="text"  name=""  value="aa" /> 
<input type="text"  name=""  value="bb" /> 
<input type="text"  name=""  value="cc" /> 
<input type="text"  name=""  value="dd" /> 
<input type="text"  name=""  value="ee" /> 
<input type="text"  name=""  value="ff" /> 
<input type="text"  name=""  value="gg" /> 
<input type="text"  name=""  value="hh" /> 
<input type="text"  name=""  value="jj" /> 
<input type="text"  name=""  value="kk" /> 
<input type="text"  name=""  value="ll" /> 
<input type="text"  name=""  value="mm" /> 
<input type="text"  name=""  value="nn" /> 
<input type="text"  name=""  value="oo" /> 
<input type="text"  name=""  value="pp" /> 
<input type="text"  name=""  value="qq" /> 
<input type="text"  name=""  value="rr" /> 
<input type="text"  name=""  value="ss" /> 
	</span>
	</li>
	<% } %>
	</ul>
 </div>
<DIV class=ccay-operate>
	<INPUT id=btncatch class="efault" value="提取" type=button onclick="alert($('#jsonDataTestForm').jsonData())"> 
</DIV>
</script>
<script type="text/javascript">
	var length=50,users=[];
    for(var i=0;i<=length;i++){
    	users.push({str:1,str2:2,userName:"user"+i,married:Math.random()*10%2,age:Math.random()*100,phone:Math.random()*10000000000000})
	}
    $("#jsonDataTestForm").html(Ccay.UI.template( $("#templ").html(),{users:users})); 
	//$("#jsonDataTestForm").ccayTemplate({teml:$("#listTemp").html(),data});
</script>